"""djangoProject1 URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/4.0/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
import Book_exaln_system.urls
from evaluate_system.views import comment
from login_system import urls as ls_url, views as ls_view
from django.urls import path, include
import root_system.urls
from . import views
from Choose_coach_system.views import chooseCoach, cancel, get_statistics, root_cancel, cancel_teacher_day, cancel_exaln
from .views import onst

urlpatterns = [
    path('', views.index, name='index'),
    path('mainPage', views.main_page, name='mainPage'),
    path('cindex', chooseCoach.as_view(), name='cindex'),
    path('auth/', include(ls_url)),
    path('root/', include(root_system.urls)),
    path('bookExaln/', include(Book_exaln_system.urls)),
    path('register', ls_view.Register.as_view(), name='register'),
    path('comment', comment, name='comm'),
    path('onst', onst, name='onst'),
    path('cancel', cancel, name='cancel'),
    path('root_cancel', root_cancel, name='root_cancel'),
    path('get_statistics', get_statistics, name='get_statistics'),
    path('cancel_teacher_day', cancel_teacher_day, name='cancel_teacher_day'),
    path('cancel_exaln', cancel_exaln, name='cancel_exaln'),
]
